import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import store from './store';
// import { getRequest,getNoAuthRequest,postRequest,postBodyRequest,postNoAuthBodyRequest,postNoAuthRequest } from './libs/axios';
import { setStore,getStore,removeStore } from './libs/storage';

Vue.config.productionTip = false
Vue.use(ElementUI)
//全局存储
Vue.prototype.setStore = setStore;
Vue.prototype.getStore = getStore;
Vue.prototype.removeStore = removeStore;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
